package No_1.Student;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class Student {
    int num;
    String name;
    int age;

    public void outPut(){
        System.out.print("学员信息："+"  学号:"+this.num+",名字:"+this.name+",年龄："+this.age+"岁\n\n");
    }



    public static void main(String[] args) {
        Student li = new Student();
        li.num = 1000;
        li.name = "李大侠";
        li.age = 20;
        li.outPut();

        Student zhang = new Student();
        zhang.num = 1001;
        zhang.name = "张二侠";
        zhang.age = 16;
        zhang.outPut();

        Student wang = new Student();
        wang.num = 1002;
        wang.name = "王小侠";
        wang.age = 24;
        wang.outPut();
    }
}
